The Dreamweaver JavaScript API > Deprecated functions > dreamweaver.templatePalette.getSelectedTemplate()

 

dreamweaver.templatePalette.getSelectedTemplate()

Availability

Dreamweaver 3.0, deprecated in 4.0 in favor of dw.assetPalette.getSelectedItems().

Description

Gets the path of the selected template.

Arguments

None.

Returns

A string containing the path of the template, expressed as a file:// URL.

Enabler

None.